package com.spring.mvc.controller;

import com.spring.mvc.controller.pojo.GoodsModel;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 28593
 * @auther 尚智江
 * @Date 2022/10/27 9:26
 */
@Controller
@RequestMapping("/my")
public class FormatterController {
    @RequestMapping("/formatter")
    public String myConverter( GoodsModel gm, Model model){
        model.addAttribute("goods",gm);
        return "showGoods";
    }
}
